<div id="navbar" class="navbar navbar-default">
	<script type="text/javascript">
		try{ace.settings.check('navbar' , 'fixed')}catch(e){}
	</script>

	<div class="navbar-container" id="navbar-container">
		<button type="button" class="navbar-toggle menu-toggler pull-left" id="menu-toggler">
			<span class="sr-only">Toggle sidebar</span> <span class="icon-bar"></span>
			<span class="icon-bar"></span> <span class="icon-bar"></span>
		</button>

		<div class="navbar-header pull-left">
			<a href="${ctx}/admin/index" class="navbar-brand"> <small> <i
					class="fa fa-leaf"></i> FinalCMS Admin
			</small>
			</a>
		</div>

		<div class="navbar-buttons navbar-header pull-right"
			role="navigation">
			<ul class="nav ace-nav">

				<li class="purple">
					<a data-toggle="dropdown" class="dropdown-toggle" href="#">
						<i class="ace-icon fa fa-bell icon-animated-bell"></i> <span class="badge badge-important">8</span>
					</a>
					<ul class="dropdown-menu-right dropdown-navbar navbar-pink dropdown-menu dropdown-caret dropdown-close">
						<li class="dropdown-header"><i
							class="ace-icon fa fa-exclamation-triangle"></i> 8 Notifications
						</li>

						<li><a href="#">
								<div class="clearfix">
									<span class="pull-left"> <i
										class="btn btn-xs no-hover btn-pink fa fa-comment"></i> New
										Comments
									</span> <span class="pull-right badge badge-info">+12</span>
								</div>
						</a></li>

						<li><a href="#"> <i
								class="btn btn-xs btn-primary fa fa-user"></i> Bob just signed
								up as an editor ...
						</a></li>

						<li><a href="#">
								<div class="clearfix">
									<span class="pull-left"> <i
										class="btn btn-xs no-hover btn-success fa fa-shopping-cart"></i>
										New Orders
									</span> <span class="pull-right badge badge-success">+8</span>
								</div>
						</a></li>

						<li><a href="#">
								<div class="clearfix">
									<span class="pull-left"> <i
										class="btn btn-xs no-hover btn-info fa fa-twitter"></i>
										Followers
									</span> <span class="pull-right badge badge-info">+11</span>
								</div>
						</a></li>

						<li class="dropdown-footer"><a href="#"> See all
								notifications <i class="ace-icon fa fa-arrow-right"></i>
						</a></li>
					</ul></li>

				<!-- #section:basics/navbar.user_menu -->
				<li class="light-blue"><a data-toggle="dropdown" href="#"
					class="dropdown-toggle"> <img class="nav-user-photo"
						src="${ctx}/avatars/user.jpg" alt="Jason's Photo" /> <span
						class="user-info"> <small>Welcome,</small> Jason
					</span> <i class="ace-icon fa fa-caret-down"></i>
				</a>

					<ul
						class="user-menu dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
						<li><a href="#"> <i class="ace-icon fa fa-cog"></i>
								Settings
						</a></li>

						<li><a href="profile.html"> <i
								class="ace-icon fa fa-user"></i> Profile
						</a></li>

						<li class="divider"></li>

						<li><a href="/admin/logout"> <i class="ace-icon fa fa-power-off"></i>
								Logout
						</a></li>
					</ul></li>

				<!-- /section:basics/navbar.user_menu -->
			</ul>
		</div>
		<!-- /section:basics/navbar.dropdown -->
	</div>
	<!-- /.navbar-container -->
</div>

<!-- /section:basics/navbar.layout -->
<div class="main-container" id="main-container">
	<script type="text/javascript">
		try{ace.settings.check('main-container' , 'fixed')}catch(e){}
	</script>
<div id="sidebar" class="sidebar responsive">
	<script type="text/javascript">
		try{ace.settings.check('sidebar' , 'fixed')}catch(e){}
	</script>

	<div class="sidebar-shortcuts" id="sidebar-shortcuts">
		<div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">
			<button class="btn btn-success">
				<i class="ace-icon fa fa-signal"></i>
			</button>
			<button class="btn btn-info">
				<i class="ace-icon fa fa-pencil"></i>
			</button>
			<button class="btn btn-warning">
				<i class="ace-icon fa fa-users"></i>
			</button>
			<button class="btn btn-danger">
				<i class="ace-icon fa fa-cogs"></i>
			</button>
		</div>

		<div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
			<span class="btn btn-success"></span> <span class="btn btn-info"></span>
			<span class="btn btn-warning"></span> <span class="btn btn-danger"></span>
		</div>
	</div>

	<ul class="nav nav-list">
		<li <?if(current=='dashboard'){?>class="active"<?}?> id="dashboard">
			<a href="${ctx}/admin/index">
				<i class="menu-icon fa fa-tachometer"></i><span class="menu-text"> 仪表盘 </span>
			</a>
			<b class="arrow"></b>
		</li>

		<li <?if(current=='list_article' || current=='post_article'){?>class="active open hsub"<?}?>>
			<a href="#" class="dropdown-toggle">
				<i class="menu-icon fa fa-desktop"></i><span class="menu-text">	内容管理 </span> 
				<b class="arrow fa fa-angle-down"></b>
			</a>
			<b class="arrow"></b>
			<ul class="submenu">
				<li <?if(current=='list_article' || current=='post_article'){?>class="active open hsub"<?}?>>
					<a href="#" class="dropdown-toggle"> 
						<i class="menu-icon fa fa-caret-right"></i> 文章 <b class="arrow fa fa-angle-down"></b>
					</a>
					<b class="arrow"></b>
					<ul class="submenu">
						<li class=""><a href="/admin/content/list"> 
							<i class="menu-icon fa fa-caret-right"></i> 所有文章 </a> <b class="arrow"></b></li>

						<li <?if(current=='post_article'){?>class="active"<?}?> id="post_article"><a href="/admin/content/posts"> 
							<i class="menu-icon fa fa-caret-right"></i> 写文章 </a> <b class="arrow"></b></li>

						<li class=""><a href="mobile-menu-2.html"> 
							<i class="menu-icon fa fa-caret-right"></i> 分类目录 </a> <b class="arrow"></b></li>

						<li class=""><a href="mobile-menu-3.html">
							<i class="menu-icon fa fa-caret-right"></i> 标签管理 </a> <b class="arrow"></b></li>
					</ul>
				</li>
			</ul>
			<ul class="submenu">
				<li class="">
					<a href="#" class="dropdown-toggle"> 
						<i class="menu-icon fa fa-caret-right"></i> 图片 <b class="arrow fa fa-angle-down"></b>
					</a>
					<b class="arrow"></b>
					<ul class="submenu">
						<li class=""><a href="top-menu.html"> 
							<i class="menu-icon fa fa-caret-right"></i> 所有图片 </a> <b class="arrow"></b></li>

						<li class=""><a href="mobile-menu-1.html"> 
							<i class="menu-icon fa fa-caret-right"></i> 发布 </a> <b class="arrow"></b></li>

						<li class=""><a href="mobile-menu-2.html"> 
							<i class="menu-icon fa fa-caret-right"></i> 分类目录 </a> <b class="arrow"></b></li>

						<li class=""><a href="mobile-menu-3.html">
							<i class="menu-icon fa fa-caret-right"></i> 标签管理 </a> <b class="arrow"></b></li>
					</ul>
				</li>
			</ul>
		</li>

		<li class=""><a href="buttons.html"> <i
				class="menu-icon fa fa-caret-right"></i> Buttons &amp; Icons
		</a> <b class="arrow"></b></li>

		<li class=""><a href="treeview.html"> <i
				class="menu-icon fa fa-caret-right"></i> Treeview
		</a> <b class="arrow"></b></li>
	</li>

		<li class=""><a href="#" class="dropdown-toggle"> <i
				class="menu-icon fa fa-list"></i> <span class="menu-text">
					Tables </span> <b class="arrow fa fa-angle-down"></b>
		</a> <b class="arrow"></b>

			<ul class="submenu">
				<li class=""><a href="tables.html"> <i
						class="menu-icon fa fa-caret-right"></i> Simple &amp; Dynamic
				</a> <b class="arrow"></b></li>

				<li class=""><a href="jqgrid.html"> <i
						class="menu-icon fa fa-caret-right"></i> jqGrid plugin
				</a> <b class="arrow"></b></li>
			</ul></li>

		<li class=""><a href="#" class="dropdown-toggle"> <i
				class="menu-icon fa fa-pencil-square-o"></i> <span
				class="menu-text"> Forms </span> <b class="arrow fa fa-angle-down"></b>
		</a> <b class="arrow"></b>

			<ul class="submenu">
				<li class=""><a href="form-elements.html"> <i
						class="menu-icon fa fa-caret-right"></i> Form Elements
				</a> <b class="arrow"></b></li>

				<li class=""><a href="form-wizard.html"> <i
						class="menu-icon fa fa-caret-right"></i> Wizard &amp; Validation
				</a> <b class="arrow"></b></li>

				<li class=""><a href="wysiwyg.html"> <i
						class="menu-icon fa fa-caret-right"></i> Wysiwyg &amp; Markdown
				</a> <b class="arrow"></b></li>

				<li class=""><a href="dropzone.html"> <i
						class="menu-icon fa fa-caret-right"></i> Dropzone File Upload
				</a> <b class="arrow"></b></li>
			</ul></li>

		<li class=""><a href="widgets.html"> <i
				class="menu-icon fa fa-list-alt"></i> <span class="menu-text">
					Widgets </span>
		</a> <b class="arrow"></b></li>

		<li class=""><a href="calendar.html"> <i
				class="menu-icon fa fa-calendar"></i> <span class="menu-text">
					Calendar <!-- #section:basics/sidebar.layout.badge --> <span
					class="badge badge-transparent tooltip-error"
					title="2 Important Events"> <i
						class="ace-icon fa fa-exclamation-triangle red bigger-130"></i>
				</span> <!-- /section:basics/sidebar.layout.badge -->
			</span>
		</a> <b class="arrow"></b></li>

		<li class=""><a href="gallery.html"> <i
				class="menu-icon fa fa-picture-o"></i> <span class="menu-text">
					Gallery </span>
		</a> <b class="arrow"></b></li>

		<li class=""><a href="#" class="dropdown-toggle"> <i
				class="menu-icon fa fa-tag"></i> <span class="menu-text">
					More Pages </span> <b class="arrow fa fa-angle-down"></b>
		</a> <b class="arrow"></b>

			<ul class="submenu">
				<li class=""><a href="profile.html"> <i
						class="menu-icon fa fa-caret-right"></i> User Profile
				</a> <b class="arrow"></b></li>

				<li class=""><a href="inbox.html"> <i
						class="menu-icon fa fa-caret-right"></i> Inbox
				</a> <b class="arrow"></b></li>

				<li class=""><a href="pricing.html"> <i
						class="menu-icon fa fa-caret-right"></i> Pricing Tables
				</a> <b class="arrow"></b></li>

				<li class=""><a href="invoice.html"> <i
						class="menu-icon fa fa-caret-right"></i> Invoice
				</a> <b class="arrow"></b></li>

				<li class=""><a href="timeline.html"> <i
						class="menu-icon fa fa-caret-right"></i> Timeline
				</a> <b class="arrow"></b></li>

				<li class=""><a href="login.html"> <i
						class="menu-icon fa fa-caret-right"></i> Login &amp; Register
				</a> <b class="arrow"></b></li>
			</ul></li>

		<li class=""><a href="#" class="dropdown-toggle"> <i
				class="menu-icon fa fa-file-o"></i> <span class="menu-text">
					Other Pages <!-- #section:basics/sidebar.layout.badge --> <span
					class="badge badge-primary">5</span> <!-- /section:basics/sidebar.layout.badge -->
			</span> <b class="arrow fa fa-angle-down"></b>
		</a> <b class="arrow"></b>

			<ul class="submenu">
				<li class=""><a href="faq.html"> <i
						class="menu-icon fa fa-caret-right"></i> FAQ
				</a> <b class="arrow"></b></li>

				<li class=""><a href="error-404.html"> <i
						class="menu-icon fa fa-caret-right"></i> Error 404
				</a> <b class="arrow"></b></li>

				<li class=""><a href="error-500.html"> <i
						class="menu-icon fa fa-caret-right"></i> Error 500
				</a> <b class="arrow"></b></li>

				<li class=""><a href="grid.html"> <i
						class="menu-icon fa fa-caret-right"></i> Grid
				</a> <b class="arrow"></b></li>

				<li class=""><a href="blank.html"> <i
						class="menu-icon fa fa-caret-right"></i> Blank Page
				</a> <b class="arrow"></b></li>
			</ul></li>
	</ul>

	<div class="sidebar-toggle sidebar-collapse" id="sidebar-collapse">
		<i class="ace-icon fa fa-angle-double-left"
			data-icon1="ace-icon fa fa-angle-double-left"
			data-icon2="ace-icon fa fa-angle-double-right"></i>
	</div>

	<script type="text/javascript">
		try{ace.settings.check('sidebar' , 'collapsed')}catch(e){}
	</script>
</div>
